<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>flex的简写测试</title>
    <style>
        .container {
            height: 100px;
            background-color: yellow;
            display: flex;
        }
        .item1{
            background-color: lightskyblue;
            flex: 1;
            flex: 0 0 auto;
            flex: 0 0 500px;
            flex: 1 1 auto;
            flex: 0 1 500px;
            flex: 1 0 auto;
        }
        .item2{
            background-color: green;
            width: 300px;
        }
        .item3{
            background-color: blue;
            width: 300px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="item1">11111111111111111111111111</div>
    <div class="item2">2222</div>
    <div class="item3">33333</div>
</div>
</body>
</html>